package org.nci.platform.workflow.config;

import lombok.Getter;
import lombok.Setter;
import org.flowable.common.engine.impl.history.HistoryLevel;
import org.springframework.boot.context.properties.ConfigurationProperties;

import java.util.HashSet;
import java.util.Set;

@ConfigurationProperties(prefix = "flowable")
@Setter
@Getter
public class FlowableProperties {
    private FlowableDatasource datasource;
    private String databaseSchemaUpdate;
    private Boolean asyncExecutorActivate;
    private HistoryLevel historyLevel;
    private Set<Class<?>> customMappers = new HashSet<>();
    private Set<String> customXMLs = new HashSet<>();
}